<%--
 *  File:    ExprotCustomerCollate.jsp
 *  @Author: Jamesli
 *  Date:    2011/01/30
 *
 *  Copyright (C) 2000 - 2011 Oval Technologies, Inc.
 *  All rights reserved.
 *
 *  This software is the confidential and proprietary information of Oval
 *  Technologies, Inc. ("Confidential Information").  You shall not
 *  disclose such Confidential Information and shall use it only in
 *  accordance with the terms of the license agreement you entered into
 *  with Oval.
--%>


<%@ include file="/inc/SessionTimeout.inc"%>
<%@ page language="java" %>
<%@ page import="java.util.*" %>
<%@ page import="org.apache.log4j.Category" %>
<%@ page import="com.oval.util.*" %>

<%@ page contentType = "text/html;charset=UTF-8" %>
<%@ taglib uri="http://dcms.oval.com/page/dcms" prefix="dcms" %>
<%@ taglib uri="/WEB-INF/custom.tld" prefix="custom" %>

<%
  //init param
  Category cat = Category.getInstance("jsp.ExprotCustomerCollate");
  String privilegeCode = "E0162";
  String strModuleName = "COM";
  String contextPath = request.getContextPath();
%>

<%@ include file="/inc/Security.inc" %>
<%@include file="/inc/PageDefault.inc"%>
<html>
<head>
<title>ExprotCustomerCollate</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="<%=contextPath %>/css/cn/main.css" type="text/css">
<link rel="stylesheet" href="<%=contextPath%>/css/<%= strLanguageCode %>/summary.css" type="text/css">
</head>
<script type="text/javascript">
var popwindow;
function page_back(){
		this.location.href = "<%= contextPath%>/phap/phap.datp/masterdata/cm/dataclean/CustomerCollateEdit.jsp?languagecode=cn&first=E01&second=E016&third=E0162&<%= OvalTools.randomURL() %>";
}
function page_selectProvince(){
   if(popwindow!=null)popwindow.close();
   popwindow = window.open('<%=contextPath %>/masterdata/ogm/RegionSelect.jsp?<%= OvalTools.randomURL() %>&languagecode=<%= strLanguageCode %>&countrycode=CN','newwindow', 'height=250, width=500,top=100,left=100,toolbar=n0, menubar=no, scrollbars=no, resizable=no, location=no, status=no');
}
function page_setRegion(code,name)
 {
   document.getElementsByName('regionname')[0].value=name ;
   if(popwindow!=null)popwindow.close();
 }
</script>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<iframe id="reloadHandler" name="reloadHandler" style="display:none"></iframe>
<dcms:summary id="customercollate" summaryDataName="searchresults" needExportXLSX="true">
  <dcms:param name="scruletype" property="params:scruletype"/>
  <dcms:otherSearchCondition>
  <%= "&nbsp;"+label.getLabelName("L_DealerProvince")+label.getLabelName("L_Colon") %>
      <custom:text property="regionname" size="15" readonly="true"/>
      <a onclick="javascript:page_selectProvince();"><custom:button type="2" label="L_Asterisk" imgsrc="flash.gif" border="0"/></a>
	<%=label.getLabelName("L_Businessarea") +  label.getLabelName("L_Colon") %>
  <custom:select property="regionid" optionInnerTextKey="regionname" style="width:160px" optionsName="resultregion" optionValueKey="regionid" onchange="page_getpriviceoffice()" defaultValue="ALL" defaultValueCost=""/>&nbsp;&nbsp;	
  <button type="reset" class="button1" name="re" value="clear"  style="width:60"><%=label.getLabelName("L_Clear") %></button>
  <dcms:summaryAction actionFuction="page_back" labelCode="L_Back" styleWidth="60"/>
  </dcms:otherSearchCondition>
</dcms:summary>
</body>
</html>


